From 7cc2def7f560e7e2945660da5eee8b4dac0b213c Mon Sep 17 00:00:00 2001 From: Carsten Schoenert Date: Thu, 13 Oct 2016 21:08:18 +0200 Subject: [PATCH] doc: Add field 'revdate' to asciidoc files For reproducibility we need to set up a date that's not depending on the current time and timezone. We add a extra asciidoc control field 'revdate' and expand the variable behind that while building the package with the date from the changelog file. Note! Unfortunately using the modified files in the way it's originally intended breaks the build of the source by using dpkg-buildpackage twice in a row. Until this issue is solved the added fields are now commented out. Forwarded: Not-Needed Gbp-Pq: Topic reproducibility Gbp-Pq: Name doc-Add-field-revdate-to-asciidoc-files.patch --- doc/src/doc_writing_style_policy/doc_writing_style_policy.adoc | 1 + doc/src/eeschema/eeschema.adoc | 1 + doc/src/gerbview/gerbview.adoc | 1 + doc/src/getting_started_in_kicad/getting_started_in_kicad.adoc | 1 + doc/src/kicad/kicad.adoc | 1 + doc/src/pcbnew/pcbnew.adoc | 1 + doc/src/pl_editor/pl_editor.adoc | 1 + 7 files changed, 7 insertions(+) diff --git a/doc/src/doc_writing_style_policy/doc_writing_style_policy.adoc b/doc/src/doc_writing_style_policy/doc_writing_style_policy.adoc index c852dc70a..7bbad3997 100644 --- a/doc/src/doc_writing_style_policy/doc_writing_style_policy.adoc +++ b/doc/src/doc_writing_style_policy/doc_writing_style_policy.adoc @@ -1,5 +1,6 @@ :author: The KiCad Team :doctype: article +//:revdate: @REVDATE@ :toc: :ascii-ids: diff --git a/doc/src/eeschema/eeschema.adoc b/doc/src/eeschema/eeschema.adoc index a12b3f6a9..5c6c0468a 100644 --- a/doc/src/eeschema/eeschema.adoc +++ b/doc/src/eeschema/eeschema.adoc @@ -1,5 +1,6 @@ :author: The KiCad Team :doctype: book +//:revdate: @REVDATE@ :toc: :ascii-ids: :experimental: diff --git a/doc/src/gerbview/gerbview.adoc b/doc/src/gerbview/gerbview.adoc index 5197a5c43..11ad49cc8 100644 --- a/doc/src/gerbview/gerbview.adoc +++ b/doc/src/gerbview/gerbview.adoc @@ -1,5 +1,6 @@ :author: The KiCad Team :doctype: article +//:revdate: @REVDATE@ :toc: :ascii-ids: diff --git a/doc/src/getting_started_in_kicad/getting_started_in_kicad.adoc b/doc/src/getting_started_in_kicad/getting_started_in_kicad.adoc index 2255ec251..a6dbd3c4b 100644 --- a/doc/src/getting_started_in_kicad/getting_started_in_kicad.adoc +++ b/doc/src/getting_started_in_kicad/getting_started_in_kicad.adoc @@ -1,5 +1,6 @@ :author: The KiCad Team :doctype: book +//:revdate: @REVDATE@ :toc: :ascii-ids: :experimental: diff --git a/doc/src/kicad/kicad.adoc b/doc/src/kicad/kicad.adoc index 17cfda125..f174e8753 100644 --- a/doc/src/kicad/kicad.adoc +++ b/doc/src/kicad/kicad.adoc @@ -1,5 +1,6 @@ :author: The KiCad Team :doctype: book +//:revdate: @REVDATE@ :toc: :ascii-ids: :experimental: diff --git a/doc/src/pcbnew/pcbnew.adoc b/doc/src/pcbnew/pcbnew.adoc index 4dae7414f..4973e6272 100644 --- a/doc/src/pcbnew/pcbnew.adoc +++ b/doc/src/pcbnew/pcbnew.adoc @@ -1,5 +1,6 @@ :author: The KiCad Team :doctype: book +//:revdate: @REVDATE@ :toc: :ascii-ids: :figure-caption!: diff --git a/doc/src/pl_editor/pl_editor.adoc b/doc/src/pl_editor/pl_editor.adoc index 9a85ec1b3..7fcc23648 100644 --- a/doc/src/pl_editor/pl_editor.adoc +++ b/doc/src/pl_editor/pl_editor.adoc @@ -1,5 +1,6 @@ :author: The KiCad Team :doctype: article +//:revdate: @REVDATE@ :toc: :ascii-ids: -- 2.30.2